package com.ruoyi.assignmentsubmission.service;

import java.util.List;
import com.ruoyi.assignmentsubmission.domain.Assignmentsubmission;

/**
 * 学生作业提交Service接口
 *
 * @author dongyv
 * @date 2025-05-15
 */
public interface IAssignmentsubmissionService
{
    /**
     * 查询学生作业提交
     *
     * @param submissionId 学生作业提交主键
     * @return 学生作业提交
     */
    public Assignmentsubmission selectAssignmentsubmissionBySubmissionId(Long submissionId);

    /**
     * 查询学生作业提交列表
     *
     * @param assignmentsubmission 学生作业提交
     * @return 学生作业提交集合
     */
    public List<Assignmentsubmission> selectAssignmentsubmissionList(Assignmentsubmission assignmentsubmission);

    /**
     * 新增学生作业提交
     *
     * @param assignmentsubmission 学生作业提交
     * @return 结果
     */
    public int insertAssignmentsubmission(Assignmentsubmission assignmentsubmission);

    /**
     * 修改学生作业提交
     *
     * @param assignmentsubmission 学生作业提交
     * @return 结果
     */
    public int updateAssignmentsubmission(Assignmentsubmission assignmentsubmission);

    /**
     * 批量删除学生作业提交
     *
     * @param submissionIds 需要删除的学生作业提交主键集合
     * @return 结果
     */
    public int deleteAssignmentsubmissionBySubmissionIds(Long[] submissionIds);

    /**
     * 删除学生作业提交信息
     *
     * @param submissionId 学生作业提交主键
     * @return 结果
     */
    public int deleteAssignmentsubmissionBySubmissionId(Long submissionId);

    public List<Assignmentsubmission> selectAssignmentsubmissionList_student(String teacherId);
}
